 <#include "out_layout.html"/>
 <@layout> 
 <body class="http-error"> 
  <!--<![endif]-->
        <div class="row-fluid">
    <div class="http-error">
    	<#if result.status=='success'>
        <h1>\(≧▽≦)/</h1>
        <#else>
        <h1>⊙﹏⊙b</h1>
        </#if>
        <p class="info">${(result.msg)}</p>
        <#if jumptime??>
        <p class="info"><span id="time">3</span>秒后自动跳转...</p>
        
        </#if> 
        <p><i class="icon-home"></i></p>
        <p><a href="${basepath!}/admin">回到登陆页</a></p>
    </div>
</div>
<script type="text/javascript"> 
	// 以下方式直接跳转
	//window.location.href="${basepath!}/${(jumpurl)!'admin'}";
	// 以下方式定时跳转
	<#if jumptime??>
		setTimeout("javascript:location.href='${basepath!}/${(jumpurl)!'admin'}'", ${jumptime!'3000'});
		var time = $('#time').text();
		setInterval("redirect()", 1000); 
		
		function redirect(){ 
			$('#time').text(time--);
		} 
	</#if> 
</script>
</body>
</@layout>

